<?php

global $PSA_CFG;
global $psa_database;

include_once 'include_files.php';
include_once 'UserTest.php';
include_once 'GroupTest.php';
include_once 'FunctionsTest.php';
include_once 'DatabaseTest.php';
include_once 'ValidatorTest.php';

// database object
$psa_database = new Psa_Pdo();

class PsaTestSuite extends PHPUnit_Framework_TestSuite
{
	public static function suite(){
	
		$suite = new PsaTestSuite('Psa Test');
		
		// add tests to suite
		$suite->addTestSuite('UserTest');
		$suite->addTestSuite('GroupTest');
		$suite->addTestSuite('FunctionsTest');
		$suite->addTestSuite('DatabaseTest');
		$suite->addTestSuite('ValidatorTest');
		return $suite;
	}
}
?>